/*
Theme Name: Martines Icons Theme
Author: Vibrand Studio | Mathieu Matar
Description: Custom theme with WooCommerce support for Martines Icones
Version: 3.0
*/

:root {
    --brown: #3A2A17;
    --red: #AE421C;
    --yellow: #D8A627;
    --blue: #1B2D5B;
}

@font-face {
    font-family: 'Aesthetik Script';
    src: url('Aesthetik.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: #E9E9E9;
    font-family: "Raleway", sans-serif;
	color: var(--blue);
	overflow-x: hidden;
}

h4 {
    text-align: center;
    font-size: 35px;
    color: var(--red);
    font-family: 'Aesthetik Script', cursive;
    background-image: url('/wp-content/themes/Martine Icons Theme/images/CROSS.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #93929285;
    transition: 0.4s;
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    transition: 0.4s;
    border-radius: 50%;
    background-image: url('https://img.freepik.com/free-vector/yellow-crescent-geometric-shape-vector_53876-164618.jpg');
    background-size: contain;
    background-position: center;

}

header input:checked+.slider {
    background-color: #33333385;

}

header input:checked+.slider::before {
    transform: translateX(26px);
    background-image: url('https://media.istockphoto.com/id/1124567572/vector/cute-flat-sun-icon.jpg?s=612x612&w=0&k=20&c=_ekkRvw-dX-3Dt-jH3tG8wonvYJ1NrBHEAEDFm4cGVc=');
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    max-width: 1400px;
    margin: 0 auto;
	color: white;
}

header img {
    width: 25px;
    height: 25px;
    border-radius: 50px;
    object-fit: cover;
    object-position: center;
}

header div {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav {
    display: flex;
    align-items: center;
    background: white;
    height: 60px;
    margin: 30px 0px;
    padding: 0 15px;
    gap: 25px;
    background: linear-gradient(to right, rgb(0 0 0 / 0%), rgb(255 255 255));
}

nav img {
    width: 160px;
    height: 160px;
}

nav a:nth-of-type(2) {
    margin-left: auto;
}

nav a {
    font-weight: 600;
}

#banner {
    background-size: cover;
    background-position: center;
    position: relative;
	font-weight: bold;
    height: 50vh;
}


.banner-page {
    height: 35%;
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
	gap: 20px;
}

.banner-page div {
    display: block;
    font-size: clamp(30px, 4vw, 60px);
    font-weight: normal;
    font-family: 'Aesthetik Script', cursive;
    color: white;
}

.banner-page a {
    color: var(--blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    background-color: white;
    border-radius: 8px;
}

#banner form {
    position: relative;
    width: 300px;
}

#banner form input[type="search"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    border: 2px solid white;
    border-radius: 25px;
    outline: none;
    background: transparent;
	color: white;
}

#banner form svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    fill: white;
    pointer-events: none;
}

.mobile-menu {
	display: none;
}

.menu-open {
	display: none;
}


@media screen and (max-width: 1000px) {
	header {
		display: none;
	}
	
	nav {
		background: white;
		height: 75px;
		margin: 0;
		justify-content: space-between;
	}
	
	nav img {
		height: 80px;
		width: auto;
	}
	
	nav a:not(:first-child) {
		display: none;
	}
	
	.mobile-menu {
		display: block;
		display: flex;
		flex-direction: column;
		gap: 25px;
		font-size: 20px;
		color: white;
		background: var(--blue);
		width: fit-content;
		padding: 40px;
		height: 100%;
		position: fixed;
		z-index: 2;
		padding-right: 90px;
		font-weight: normal;
		top: 0;
		right: -100%;
		transition: right 0.5s ease-out;
	}
	
	.menu-open {
		display: block;
		fill: var(--blue);
		height: 20px;
		width: 40px;
		cursor: pointer;
	}
	
	.menu-close {
		height: 50px;
		width: 50px;
		cursor: pointer;
		fill: white;
		margin-bottom: 40px;
		margin-left: auto;
	}
	
	.banner-page {
		height: 45%;
	}
	
	
	nav.navbar span {
		display: none;
	}
}
